package com.bid;

import org.anddev.andengine.entity.scene.menu.item.IMenuItem;
import org.anddev.andengine.entity.sprite.AnimatedSprite;
import org.anddev.andengine.opengl.texture.region.TiledTextureRegion;

public class MenuItem extends AnimatedSprite implements IMenuItem {
	private int ID;
	public MenuItem(int pID, TiledTextureRegion pTiledTextureRegion) {
		super(0, 0, pTiledTextureRegion);
		this.ID = pID;
	}

	@Override
	public int getID() {
		return ID;
	}

	@Override
	public void onSelected() {
		this.setScale(1.1f);
	}

	@Override
	public void onUnselected() {
		this.setScale(1f);
	}

}
